//封装storage
var storage = {
    set(key, value){
        localStorage.setItem(key, JSON.stringify)
    }
}